
<%@page import="comm.util.SoptHashMap"%>
<%@page import="java.util.ArrayList"%><%@page import="sopt.issueChaser.MetawebblogHelper"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	System.out.println("===============getCateogryBlog.jsp");
	System.out.println("session('currnet_user')"+session.getAttribute("BLOGID").toString());
	System.out.println("session('currnet_user')"+session.getAttribute("CURRENT_USER").toString());
	System.out.println("session('currnet_user')"+session.getAttribute("USERPW").toString());
	MetawebblogHelper blog = new MetawebblogHelper(session.getAttribute("BLOGAPIADDRESS").toString());
	ArrayList lt = blog.getCategoryList(session.getAttribute("BLOGID").toString(),
			session.getAttribute("CURRENT_USER").toString(),session.getAttribute("USERPW").toString());
	if(lt!=null){
		%>
	<%for(int i = 0; i<lt.size();i++){
		SoptHashMap hm = (SoptHashMap)lt.get(i);
		System.out.println(hm.toString());
	%>
	<option value="<%=hm.get("CATEGORYNAME")%>"><%=hm.get("DESCRIPTION")%></option>
<%}%>
	<%}%>